<div class="sidebar-toggle"><i class="fa fa-bars"></i></div>
<div class="sidenav" id="sidebar-nav">
    {:hook('user_sidenav_before')}
    <ul class="list-group">
        <li class="list-group-heading">{:__('Member center')}</li>
        <li class="list-group-item {:check_nav_active('user/index')}"> <a href="{:url('user/index')}"><i class="fa fa-user-circle fa-fw"></i> {:__('User center')}</a> </li>
        <li class="list-group-item {:check_nav_active('user/recom')}"> <a href="{:url('user/recom')}"><i class="fa fa-share fa-fw"></i> {:__('邀请有奖')}</a> </li>
        <li class="list-group-item {:check_nav_active('user/logout')}"> <a href="{:url('user/logout')}"><i class="fa fa-sign-out fa-fw"></i> {:__('Sign out')}</a> </li>
    </ul>
	<ul class="list-group">
		<li class="list-group-heading">开通服务</li>
        <li class="list-group-item {:check_nav_active('goods/index')}"> <a href="{:url('goods/index')}"><i class="fa fa-user-circle fa-fw"></i> 购买积分</a> </li>
        <li class="list-group-item {:check_nav_active('goods.order/index')}"> <a href="{:url('goods.order/index')}"><i class="fa fa-list fa-fw"></i> 我的订单</a> </li>
        <li class="list-group-item {if check_nav_active('goods.record.token/index')!='' && $Request.param.type=='income'}active{/if}"> <a href="{:url('goods.record.token/index',['type'=>'income'])}"><i class="fa fa-list fa-fw"></i> 积分获取记录</a> </li>
		<li class="list-group-item {if check_nav_active('goods.record.token/index')!='' && $Request.param.type=='expenses'}active{/if}"> <a href="{:url('goods.record.token/index',['type'=>'expenses'])}"><i class="fa fa-list fa-fw"></i> 积分消耗记录</a> </li>
	</ul>
	{if !$Request.isMobile}
	<ul class="list-group">
		<li class="list-group-heading">欧卡牌</li>
        <li class="list-group-item {:check_nav_active('ohcard.identify/index')}"> <a href="{:url('ohcard.identify/index')}"><i class="fa fa-eye fa-fw"></i> 360°识人</a> </li>
	</ul>
	{/if}
    {:hook('user_sidenav_after')}
</div>
